package test;

import redis.clients.jedis.Jedis;

public class RedisMain {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1",6379);
        jedis.set("fenghy", "123");
        System.out.println(jedis.get("fenghy"));
    }

}
